package com.car.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;

/**
 * @author 贾勇
 */

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_custormer")
public class Custormer implements Serializable {

    /**
     * 客户ID
     */
    @TableId(value = "custormerId",type = IdType.AUTO)
    private Integer custormerId;
    /**
     * 客户姓名
     */
    @TableField("custormerName")
    private String custormerName;
    /**
     * 客户手机号码
     */
    @TableField("custormerPhone")
    private String custormerPhone;
    /**
     * 客户身份证号
     */
    @TableField("custormerIdCard")
    private String custormerIdCard;
    /**
     * 客户驾驶证号
     */
    @TableField("custormerDriveCard")
    private String custormerDriveCard;
    /**
     * 客户类别：  0 个人  1  企业
     */
    @TableField("custormerCategory")
    private Integer custormerCategory;
    /**
     * 客户公司号码
     */
    @TableField("custormerCompanyId")
    private String custormerCompanyId;
    /**
     * 客户公司号码
     */
    @TableField("custormerCompanyCode")
    private String custormerCompanyCode;
    /**
     * 客户公司营业执照图片
     */
    @TableField("custormerCompanyImage")
    private String custormerCompanyImage;
    /**
     * 客户税务证号码
     */
    @TableField("custormerCompanyTaxIIdCard")
    private String custormerCompanyTaxIIdCard;
    /**
     * 客户状态： 0 正常  1 黑名单
     */
    @TableField("custormerState")
    private Integer custormerState;
    /**
     * 黑名单备注
     */
    @TableField("custormerStateRemark")
    private String custormerStateRemark;
    /**
     * 客户信用值
     */
    @TableField("custormerCreditValue")
    private Integer custormerCreditValue;

    /**
     * 信用值变化
     */
    private Integer custormerChangeCreditValue;

    /**
     * 信用值变化
     */
    private String custormerCausesChanges;
    /**
     * 客户会员等级 0 非会员 1 白银 2 黄金 3 白金 4 钻石
     */
    @TableField("custormerVipLevel")
    private Integer custormerVipLevel;
}
